package com.juyu.reader.pc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.juyu.reader.pc.dao.CategoryDao;
import com.juyu.reader.pc.model.Category;

@Service
public class CategoryService {
	@Autowired
	private CategoryDao categoryDao;

	public List<Category> findCategory(Category category) {
		return categoryDao.findCategory(category);
	}
	public List<Category> findChildCategory( ) {
		return categoryDao.findChildCategory();
	}
}
